package com.hzdl.flower.service.impl;

import com.hzdl.flower.bean.Admin;
import com.hzdl.flower.mapper.AenterMapper;
import com.hzdl.flower.service.AenterService;
import com.hzdl.flower.vo.LogVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AenterServiceImpl implements AenterService {
    @Autowired
    private AenterMapper am;


    @Override
    public Admin findNameAndId(Admin admin) {
        return am.findNameAndId(admin);
    }

    @Override
    public int add(LogVo logVo) {
        return am.add(logVo);
    }
}
